import { GET, POST } from '@/utils'

enum API {
    GET_CODE_API = '/captcha',
    LOGIN_API = '/login',
}

// 验证码
export const getCodeApi = () => GET(API.GET_CODE_API, null);
// 登录
export const LoginApi = (data: any) => POST(API.LOGIN_API, data, false)
